package com.jml.api.fallback;

import com.jml.api.entity.UserEntity;
import com.jml.api.feign.MemberServiceFeigin;
import com.jml.base.BaseApiService;
import com.jml.base.ResponseBase;
import org.springframework.stereotype.Component;


@Component
public class MemberServiceFallback extends BaseApiService implements MemberServiceFeigin {
	@Override
	public UserEntity getMember(String name) {
		return null;
	}
	@Override
	public ResponseBase getUserInfo() {
		return setResultError("fallback在降级，服务器忙....");
	}
}
